package com.itheima.pojo;

import java.util.List;
import java.util.Map;
import java.util.Properties;


public class Account {
    private Integer id;
    private String name;
    private List<String> names;
    private Map<String,Object> adds;
    private User user;

    public Properties getProperties() {
        return properties;
    }

    private Properties properties;

    public void setProperties(Properties properties) {
        this.properties = properties;
    }

    public Account() {
    }

    public Account(Integer id, String name, List<String> names, Map<String, Object> adds, User user) {
        this.id = id;
        this.name = name;
        this.names = names;
        this.adds = adds;
        this.user = user;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setNames(List<String> names) {
        this.names = names;
    }

    public void setAdds(Map<String, Object> adds) {
        this.adds = adds;
    }

    public void setUser(User user) {
        this.user = user;
    }

    @Override
    public String toString() {
        return "Account{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", names=" + names +
                ", adds=" + adds +
                ", user=" + user +
                '}';
    }
}
